package com.gasstion.dao;

import com.gasstion.entity.UserRole;
import org.apache.ibatis.annotations.Param;

public interface UserRoleDao {

    //根据用户编号uid查询role rid
    public int getRidByUid(int uid);

    public UserRole getRoleByUserId(@Param("uid") int uid);

    public void save(@Param("uid") int uid,@Param("rid") int rid);

    public void update(@Param("uid") int uid,@Param("rid") int rid);
}
